package com.chen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName("t_account")
@Data
public class Account {
    @TableId
    @TableField(value = "id")
    private int id;
    @TableField(value = "user_id")
    private int userId;
    @TableField(value = "amount")
    private BigDecimal amount;
    @TableField(value = "frozen_amount")
    private BigDecimal frozenAmount;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "update_time")
    private Date updateTime;
}
